import request from '@/utils/request'
// 列表
export function search(query) {
  return request({
    url: '/admin/order/search',
    method: 'get',
    params: query
  })
}
export function detail(id) {
  return request({
    url: 'admin/order/detail',
    method: 'post',
    data: {
      id
    }
  })
}
